//
//  NetWorkingTools.h
//  礼物说
//
//  Created by shmily on 15/8/17.
//  Copyright (c) 2015年 shmilyAshen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>
typedef void(^successBlock)(NSURLSessionDataTask *task, id responseObject);
typedef void(^failedBlock)(NSURLSessionDataTask *task, NSError *error);
///  网络工具
@interface NetWorkingTools : AFHTTPSessionManager

///  单例
- (instancetype)shareNetWorking;
/**
 发送 get 请求
 */
- (void)requestGETWithUrlString:(NSString *)urlString finished:(successBlock)success error:(failedBlock)failed;
@end
